<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Swiper demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">

    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" href="css/swiper-3.2.7.min.css">
    <link rel="stylesheet" type="text/css" href="css/animate.min.css"/>
	<link rel="stylesheet" type="text/css" href="css/wxc.css"/>
    <!-- Demo styles -->
    <!--<style>
    html, body {
        position: relative;
        height: 100%;
    }
    body {
        background: #eee;
        font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
        font-size: 14px;
        color:#000;
        margin: 0;
        padding: 0;
    }
    .swiper-container {
        width: 100%;
        height: 100%;
    }
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;

         Center slide text vertically 
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }
    </style>-->
</head>
<body>
    <!-- Swiper -->
    <div class="swiper-container">
        <div class="swiper-wrapper">
        	<!--第一屏-->
            <div class="swiper-slide one">
            	<div class="top ani" swiper-animate-effect="zoomIn" swiper-animate-duration="2s" swiper-animate-delay="1s">
            		<img src="img/one.png"/>
            		</div>
            	<div class="btm ani" swiper-animate-effect="rollIn" swiper-animate-duration="2s" swiper-animate-delay="1.5s">
            		<img src="img/two.png"/>
            	</div>
            	<h1>小小的我</h1>
            </div>
            <!--第一屏结束-->
            
            <!--第二屏-->
            <div class="swiper-slide two">
            	<div class="top ani" swiper-animate-effect="zoomIn" swiper-animate-duration="2s" swiper-animate-delay="1s">
            		<img src="img/three.png"/>
            	</div>	
            	<div class="center ani" swiper-animate-effect="lightSpeedIn" swiper-animate-duration="2s" swiper-animate-delay="1.5s">
            		<img src="img/four.png"/>	
            	</div>
            	<div class="btm ani" swiper-animate-effect="flipInY" swiper-animate-duration="2s" swiper-animate-delay="2.5s">
            		<img src="img/five.png"/>	
            	 </div>	
            	<div class="fc ani" swiper-animate-effect="flipInY" swiper-animate-duration="2s" swiper-animate-delay="3s">
            		<img src="img/fengche.gif"/>		
            	</div>
            </div>
            <!--第二屏结束-->
         
            
        </div>
        <!-- Add Pagination -->
        <div class="swiper-pagination"></div>
    
		</div>
		
		<!--音乐区域-->
	<div id="music">
		<img src="img/music.gif" class="music_bg" />
		<img src="img/music.png" class="music_pic" />
	</div>
	<audio src="img/Huuhdiin bayar.mp3" autoplay="autoplay" id="bgmusic"></audio>
	<!--音乐区域-->
	
    <!-- Swiper JS -->
    <script src="js/swiper-3.2.7.min.js"></script>
   
    	
   <script src="js/swiper.animate1.0.2.min.js" type="text/javascript" charset="utf-8"></script>

    <!-- Initialize Swiper -->
    <script>
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        direction: 'vertical',
        onInit: function(swiper){ //Swiper2.x的初始化是onFirstInit
    swiperAnimateCache(swiper); //隐藏动画元素 
    swiperAnimate(swiper); //初始化完成开始动画
  }, 
  onSlideChangeEnd: function(swiper){ 
    swiperAnimate(swiper); //每个slide切换结束时也运行当前slide动画
  } 
    });
    </script>
</body>
</html>